<include file="public:head"/>
<html>
<head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1" /> 
    <title>付款成功</title>
    <style type="text/css">
        .yisulayer {
            background: #323a45 !important;
        }
    </style>
</head>
<body style="background: #fff">
    <div class="paysuccess" style="margin: 0 auto 150px;margin-top: 260px;width:400px;">
        <img style="display: inline-block;height: 50px;vertical-align: top;" src="images/trues.png"><span style="display: inline-block;margin-left: 20px;font-size: 30px;letter-spacing: 3px;color: green;height: 50px;line-height: 50px;">恭喜您支付成功！</span><input type="hidden" value="{:I('get.orderid')}" id="orderid">
    </div>

<script type="text/javascript">
    var orderid = $("#orderid").val();
    var url = "{:U('home/recharge/order')}";
    $.get(url,{orderid:orderid},function(msg){
        if(msg.code == 1){
            setTimeout(function(){
                window.location.href = '{:U("home/service/index")}';
            },1000)
        }else{
            setTimeout(function(){
                window.location.href = '{:U("home/service/sureorder")}'+'&orderid='+ orderid;
            },1000)
        }
    },'json')
</script>
<include file="public:foot"/>
</body>
</html>
